package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 财政审核对象 hms_financial_audit
 * 
 * @author ruoyi
 * @date 2021-08-16
 */
public class HmsFinancialAudit extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long auditId;

    /** 审核单号 */
    @Excel(name = "审核单号")
    private Long auditUuid;

    /** 客户名称 */
    @Excel(name = "客户名称")
    private String auditCustomerName;

    /** 订单状态（0：待审核 1：已审核不通过 2:已审核通过) */
    @Excel(name = "订单状态", readConverterExp = "订单状态（0：待审核 1：已审核不通过 2:已审核通过)")
    private String auditOrderStatus;

    /** 付款方式（1：额度扣款 2：货到付款  3：款到发货 ） */
    @Excel(name = "付款方式", readConverterExp = "1=：额度扣款,2=：货到付款,3=：款到发货")
    private String auditPaymentMethod;

    /** 业务员 */
    @Excel(name = "业务员")
    private String auditSalesman;

    /** 审核原因 */
    @Excel(name = "审核原因")
    private String auditReason;

    /** 下单金额 */
    @Excel(name = "下单金额")
    private String auditOrderAmount;

    /** 授信额度（单位：元） */
    @Excel(name = "授信额度", readConverterExp = "单=位：元")
    private Long auditCreditLine;

    /** 最大授信额度（单位：元） */
    @Excel(name = "最大授信额度", readConverterExp = "单=位：元")
    private Long auditMaximumCreditLine;

    /** 下单时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "下单时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date auditOrderTime;

    public void setAuditId(Long auditId) 
    {
        this.auditId = auditId;
    }

    public Long getAuditId() 
    {
        return auditId;
    }
    public void setAuditUuid(Long auditUuid) 
    {
        this.auditUuid = auditUuid;
    }

    public Long getAuditUuid() 
    {
        return auditUuid;
    }
    public void setAuditCustomerName(String auditCustomerName) 
    {
        this.auditCustomerName = auditCustomerName;
    }

    public String getAuditCustomerName() 
    {
        return auditCustomerName;
    }
    public void setAuditOrderStatus(String auditOrderStatus) 
    {
        this.auditOrderStatus = auditOrderStatus;
    }

    public String getAuditOrderStatus() 
    {
        return auditOrderStatus;
    }
    public void setAuditPaymentMethod(String auditPaymentMethod) 
    {
        this.auditPaymentMethod = auditPaymentMethod;
    }

    public String getAuditPaymentMethod() 
    {
        return auditPaymentMethod;
    }
    public void setAuditSalesman(String auditSalesman) 
    {
        this.auditSalesman = auditSalesman;
    }

    public String getAuditSalesman() 
    {
        return auditSalesman;
    }
    public void setAuditReason(String auditReason) 
    {
        this.auditReason = auditReason;
    }

    public String getAuditReason() 
    {
        return auditReason;
    }
    public void setAuditOrderAmount(String auditOrderAmount) 
    {
        this.auditOrderAmount = auditOrderAmount;
    }

    public String getAuditOrderAmount() 
    {
        return auditOrderAmount;
    }
    public void setAuditCreditLine(Long auditCreditLine) 
    {
        this.auditCreditLine = auditCreditLine;
    }

    public Long getAuditCreditLine() 
    {
        return auditCreditLine;
    }
    public void setAuditMaximumCreditLine(Long auditMaximumCreditLine) 
    {
        this.auditMaximumCreditLine = auditMaximumCreditLine;
    }

    public Long getAuditMaximumCreditLine() 
    {
        return auditMaximumCreditLine;
    }
    public void setAuditOrderTime(Date auditOrderTime) 
    {
        this.auditOrderTime = auditOrderTime;
    }

    public Date getAuditOrderTime() 
    {
        return auditOrderTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("auditId", getAuditId())
            .append("auditUuid", getAuditUuid())
            .append("auditCustomerName", getAuditCustomerName())
            .append("auditOrderStatus", getAuditOrderStatus())
            .append("auditPaymentMethod", getAuditPaymentMethod())
            .append("auditSalesman", getAuditSalesman())
            .append("auditReason", getAuditReason())
            .append("auditOrderAmount", getAuditOrderAmount())
            .append("auditCreditLine", getAuditCreditLine())
            .append("auditMaximumCreditLine", getAuditMaximumCreditLine())
            .append("auditOrderTime", getAuditOrderTime())
            .toString();
    }
}
